<%@page
	import="com.gadglet.core.RequestException,com.gadglet.data.*,com.gadglet.data.utils.*,com.gadglet.params.*,javax.jdo.PersistenceManager,com.google.appengine.api.users.*,com.gadglet.data.utils.PMF,com.gadglet.util.*,com.gadglet.util.UrlUtils,java.util.*,javax.jdo.Query,java.util.logging.Logger"%>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/static/pageStyle.css"
	title="pageStyle" media="screen,projection" />
<title>Gadglet v0.3 Beta - logout</title>
</head>
<body>
<div id="content">
<p><% 
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
String openIDLocation = "https://www.google.com/accounts/o8/site-xrds?hd=";
String thisURL = request.getRequestURI();

Set<String> attributes = new HashSet();

if (user != null) 
{

	out.print("<hr> This account could not use this Gadget. You must <a href='" +
    userService.createLogoutURL(UrlUtils.getHomeUrl(request, true, false)
			+ "/secure/register.jsp") +
    "'>sign out</a> and login again !</p>");
}
%>

</p>
</div>
</body>
</html>

